﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FileBrowser.Exceptions
{
    /// <summary>
    /// 在发生用户权限不足时抛出异常
    /// </summary>
    internal class AccessPermissionException:Exception
    {
        private string path;
        public AccessPermissionException(string path)
        {
            this.path = path;
        }

        public override string ToString()
        {
            return "访问权限不足：" + path;
        }
    }
}
